package com.likai.blog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.likai.blog.dao.ILinkMapper;
import com.likai.blog.pojo.Link;
import com.likai.blog.service.ILinkService;

@Service("linkService")
public class LinkServiceImpl implements ILinkService {

	@Autowired
	private ILinkMapper linkMapper ;
	
	@Transactional(readOnly=true)
	public List<Link> findList() {
		return linkMapper.selectList();
	}

}
